package com.wordLearning.auth.domain.convert;

import com.wordLearning.auth.domain.entity.AuthUserBO;
import com.wordLearning.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuthUserBOConverter {
    AuthUserBOConverter INSTANCE = Mappers.getMapper(AuthUserBOConverter.class);

    AuthUser convertBOToAuthUser(AuthUserBO authUserBO);

    List<AuthUserBO> convertEntityToBO(List<AuthUser> userList);

}
